/// materialTypeName : "物资分类一级目录（办公用品）"
/// status : 1
/// branchId : 6627
/// tenantId : 1000
/// saasId : 1000
/// accCode : "1000.6507.6627"
/// id : 4478360423231488
/// createdBy : "8952"
/// createdDate : "2023-05-16 09:22:07"
/// updatedBy : "8952"
/// updatedDate : "2023-05-16 09:22:07"

class GoodsRequestTypeList {
  GoodsRequestTypeList({
      this.materialTypeName, 
      this.status, 
      this.branchId, 
      this.tenantId, 
      this.saasId, 
      this.accCode, 
      this.id, 
      this.createdBy, 
      this.createdDate, 
      this.updatedBy, 
      this.updatedDate,});

  GoodsRequestTypeList.fromJson(dynamic json) {
    materialTypeName = json['materialTypeName'];
    status = json['status'];
    branchId = json['branchId'];
    tenantId = json['tenantId'];
    saasId = json['saasId'];
    accCode = json['accCode'];
    id = json['id'];
    createdBy = json['createdBy'];
    createdDate = json['createdDate'];
    updatedBy = json['updatedBy'];
    updatedDate = json['updatedDate'];
  }
  String? materialTypeName;
  num? status;
  num? branchId;
  num? tenantId;
  num? saasId;
  String? accCode;
  num? id;
  String? createdBy;
  String? createdDate;
  String? updatedBy;
  String? updatedDate;
GoodsRequestTypeList copyWith({  String? materialTypeName,
  num? status,
  num? branchId,
  num? tenantId,
  num? saasId,
  String? accCode,
  num? id,
  String? createdBy,
  String? createdDate,
  String? updatedBy,
  String? updatedDate,
}) => GoodsRequestTypeList(  materialTypeName: materialTypeName ?? this.materialTypeName,
  status: status ?? this.status,
  branchId: branchId ?? this.branchId,
  tenantId: tenantId ?? this.tenantId,
  saasId: saasId ?? this.saasId,
  accCode: accCode ?? this.accCode,
  id: id ?? this.id,
  createdBy: createdBy ?? this.createdBy,
  createdDate: createdDate ?? this.createdDate,
  updatedBy: updatedBy ?? this.updatedBy,
  updatedDate: updatedDate ?? this.updatedDate,
);
  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    map['materialTypeName'] = materialTypeName;
    map['status'] = status;
    map['branchId'] = branchId;
    map['tenantId'] = tenantId;
    map['saasId'] = saasId;
    map['accCode'] = accCode;
    map['id'] = id;
    map['createdBy'] = createdBy;
    map['createdDate'] = createdDate;
    map['updatedBy'] = updatedBy;
    map['updatedDate'] = updatedDate;
    return map;
  }

}